projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63cb09
)
common/menu.c: Fix build warning
author
Anatolij Gustschin
<
[email protected]
>
Sat, 3 Dec 2011 06:46:07 +0000
(06:46 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Mon, 5 Dec 2011 22:26:40 +0000
(23:26 +0100)
Fix:
menu.c: In function 'menu_item_print':
menu.c:91: warning: passing argument 1 of 'putc' makes integer from
pointer without a cast
Signed-off-by: Anatolij Gustschin <
[email protected]
>
Acked-by: Heiko Schocher <
[email protected]
>
Tested-by: Heiko Schocher <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
common/menu.c
patch
|
blob
|
history
diff --git
a/common/menu.c
b/common/menu.c
index ca1baefbbd5fcf8bc2426829065242c0d1544b52..5e0817c454bdd128390114dacf315066cba43140 100644
(file)
--- a/
common/menu.c
+++ b/
common/menu.c
@@
-88,7
+88,7
@@
static inline void *menu_item_print(struct menu *m,
void *extra)
{
if (!m->item_data_print) {
- put
c
(item->key);
+ put
s
(item->key);
putc('\n');
} else {
m->item_data_print(item->data);